<?php echo View::factory('admin/common/breadcrumbs')->set('breadcrumbs', $breadcrumbs)->render(); ?>
<div class="page-content">
    <div class="page-header">
        <h1>
            Detailed Information      
        </h1>
    </div>
    <div class="row">
        <div class="col-xs-12 form-horizontal">
            <!-- PAGE CONTENT BEGINS -->
            <div class="row-fluid wizard-actions">
                <button class="btn btn-prev" onclick="_user_list.back_list_detail();">
                    <i class="icon-arrow-left"></i>
                    Cancel
                </button>

                <button id="cmdsave" class="btn btn-success btn-next classEdit" data-last="Finish " itemid="<?= $en_user->getId() ?>">
                    Edit
                    <i class="icon-arrow-right icon-on-right"></i>
                </button>
                <img id="loading" style="display: none;" src="<?= $url_base_theme . '/img/loading_1.gif' ?>" />
            </div>
            <div class="hr hr-dotted">&nbsp;</div>
            <div class="space-2"></div>
            <div class="form-group">
                <div class="col-xs-12 col-sm-5 no-padding-left" for="email">
                    <label class="col-xs-12 col-sm-10">
                        Name: <?= $en_user->getfname() . " " . $en_user->getlname() ?>
                    </label>
                    
                    <div class="space-2 col-sm-12"></div>
                    <label class="col-xs-12 col-sm-10">
                        Phone: <?= $en_user->getCell_phone() ?>
                    </label>
                    <div class="space-2 col-sm-12"></div>
                    <label class="col-xs-12 col-sm-10">
                        Email: <?= $en_user->getEmail() ?>
                    </label>
                    <div class="space-2 col-sm-12"></div>
                    <label class="col-xs-12 col-sm-10">
                        Address: <?= $en_user->getoffice_location() ?> 
                    </label>
                    
                </div>
                <div class="col-xs-12 col-sm-6">
                    <div class="clearfix">
                        <?php
                        if (trim($en_user->getimagename()) != "") {
                            $imagename = $url_base_media . "/" . Controller_Helper_Constant::FOLDER_AVATAR . "/" . $en_user->getimagename();
                        } else {
                            $imagename = $url_base_media . "/assets/img/avatars/profile-pic.jpg";
                        }
                        ?>
                        <img src='<?= $imagename ?>' width="200px" />
                    </div>      
                </div>
            </div>
            <div class="hr hr-dotted">&nbsp;</div>
           
            <div class="space-8"></div>
        </div>
    </div>
</div>